package com.cx.dao;

import com.cx.domain.T_Logger;

import java.util.List;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface T_LoggerDao {
    @Select("SELECT * FROM `t_logger`")
    List<T_Logger> selectall();
    @Insert("INSERT INTO t_logger(t_logger.operate_name,t_logger.operate_time)VALUES(#{name},NOW())")
    void insertlogger(@Param("name")String name);
}
